﻿#ifndef CVideoResultQuery_H
#define CVideoResultQuery_H
/********************************************************************************
** @ Date:2025/09/11
** @ Author: HanJiaXin
** @ Description:报告查询对话框
** @ Version:1.0.0
** @ ClassName:CVideoResultQuery
** @ Fun:
********************************************************************************/
#include <QDialog>
#include "ui_CVideoResultQuery.h"

class CVideoResultQuery : public QDialog
{
	Q_OBJECT

public:
	CVideoResultQuery(QWidget *parent = nullptr);
	~CVideoResultQuery();

private:
	void initConnect();//初始化槽函数连接
	void setStyleSheetFile();
	void initData();//初始化界面中控件的值

private slots:
	void slotPushButtonQuery();//点击查询按钮
	void slotDelDay();
	void slotAddDay();
	void slotUp();//点击上一页
	void slotDown();//点击下一页
	void slotOpenResult(QString sPath);//打开报告

private:
	Ui::CVideoResultQueryClass ui;
	int m_nPerPageCount;    //每页显示的行数
	int m_nPageCount;		//总页数
	int m_nCurrentPage;		//当前页数
	int m_nTotalCount;		//记录总数
};

#endif